{layout name="layout" /}
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            课程>>{$data['name']}
            <small>{$data['describe']}</small>
        </h1>

    </section>

    <!-- Main content -->
    <section class="content">
        <!-- Small boxes (Stat box) -->
        <div class="row">
            <section class="col-lg-6 connectedSortable">
                <h4><strong >实验</strong></h4>
                <!-- Chat box -->
                <div  class="form-control" style="height: 400px; overflow:scroll">
                    <div style="border: 1px  #000000; width: 90%; margin: 0 auto;">
                    <span>
                    <table>
                        <tr >
                            <td style="width: 150px;">ID</td>
                            <td style="width: 150px;">实验名称</td>
                            <td style="width: 150px;">实验描述</td>
                            <td style="width: 150px;">要求</td>
                            <td style="width: 150px;">点击进入</td>
                            <td style="width: 150px;">实验文件</td>
                        </tr>
                        <?php foreach($project as $row): ?>
                        <tr >
                            <td style="width: 150px;">{$row.project_id}</td>
                            <td style="width: 150px;">{$row.name}</td>
                            <td style="width: 150px;">{$row.describe}</td>
                            <td style="width: 150px;"><?php if($row['status']==0){echo "个人";}else{echo "组";} ?></td>
                            <td style="width: 150px;"><a href="/index/Person/courseLook?course_id={$data['course_id']}&status={$row.status}&project_id={$row.project_id}">点击进入</a></td>
                            <td style="width: 150px;"><a href="/index/Person/delFile?project_id={$row.project_id}">删除</a></td>
                        </tr>
                        <?php endforeach; ?>
                    </table>
                    </span>
                    </div>
                </div>
            </section>
        </div>



    </section>
    <!-- /.content -->
</div>
<!-- /.content-wrapper -->
